import axios from 'axios'

const mockRequests=axios.create({
    baseURL:'/mock',
    timeout:5000
})

//请求拦截器----在项目中发请求（请求没有发出去）可以做一些事情
mockRequests.interceptors.request.use((res)=>{
    return res;
})
mockRequests.interceptors.response.use((config)=>{
    return config;
})




export default mockRequests